﻿using System;

namespace Aeon.Emulator.Instructions.FPU
{
    internal static class Fcos
    {
        [Opcode("D9FF", OperandSize = 16 | 32, AddressSize = 16 | 32)]
        public static void Cosine(VirtualMachine vm)
        {
            vm.Processor.FPU.ST0 = Math.Cos(vm.Processor.FPU.ST0);
        }
    }
}
